package com.cz.zslu.model;

import com.cz.zslu.entity.ZslCar;
import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhanghaogao
 * @create 2018-11-14 9:47 AM
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Car {

    /**
     * 店铺名称
     */
    @ApiModelProperty("店铺名称")
    private String storeName;

    /**
     * 店铺类型
     */
    @ApiModelProperty("类型 1个人商铺 2商家商铺")
    private Integer type;

    /**
     * 卖家id
     */
    @ApiModelProperty("卖家id")
    private Long sellerUserId;

    /**
     * 商铺id
     */
    @ApiModelProperty("商铺id")
    private Long storeId;

    /**
     * 商铺id
     */
    @ApiModelProperty("商品")
    private List<ZslCar> list = Lists.newArrayList();
}
